<template>
  <div>
    <h1>会员购</h1>
    <button @click="aj()">点击</button>
    <hr />
    <ul>
      <li v-for="(v , i) in list" :key="i">
        <!-- <span>{{v}}</span> -->
        <svg-icon :icon-class="v"></svg-icon>
        <span>{{v}}</span>
      </li>
    </ul>
    <hr />
    <hr />
    <hr />
    <hr />
    <hr />
    <hr />
    <hr />
    <hr />
    <hr />
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: []
    };
  },
  methods: {
    aj() {
      // console.log(1);
      this.axios.get("/api/btn").then(r => {
        this.list = r.data;
        console.log(r);
      });
      // console.log(da);
    }
  },
  mounted() {}
};
</script>

<style>
</style>